package com.ruoyi.project.manhua.mistake.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 漫画爬虫错误对象 mh_climb_mistake
 *
 * @author yuan
 * @date 2021-02-12
 */
public class MhClimbMistake extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 爬取id */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long climbId;

    /** 漫画id */
    @Excel(name = "漫画id")
    private Long nameId;

    /** 错误篇章或者页地址 */
    @Excel(name = "错误篇章或者页地址")
    private String mistake;

    /** 篇章名称 */
    @Excel(name = "篇章名称")
    private String chapterName;

    /** 篇章id */
    @Excel(name = "篇章id")
    private Long chapterId;

    /** 页数顺序 */
    @Excel(name = "页数顺序")
    private Integer pageOrder;

    /** 页数id */
    @Excel(name = "页数id")
    private Long pageId;

    /** 那个网站爬的 */
    @Excel(name = "那个网站爬的")
    private String webType;

    /** 错误状态（1获取篇章，html代码错误2数据库，没有插入篇章错误3爬取，篇章图片空4爬取，篇章图片连接空 ） */
    @Excel(name = "错误状态", readConverterExp = "1=获取篇章，html代码错误2数据库，没有插入篇章错误3爬取，篇章图片空4爬取，篇章图片连接空")
    private String status;

    /** 爬取次数(超过三次不在爬取) */
    @Excel(name = "爬取次数(超过三次不在爬取)")
    private Integer numberCi;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClimbId(Long climbId)
    {
        this.climbId = climbId;
    }

    public Long getClimbId()
    {
        return climbId;
    }
    public void setNameId(Long nameId)
    {
        this.nameId = nameId;
    }

    public Long getNameId()
    {
        return nameId;
    }
    public void setMistake(String mistake)
    {
        this.mistake = mistake;
    }

    public String getMistake()
    {
        return mistake;
    }
    public void setChapterName(String chapterName)
    {
        this.chapterName = chapterName;
    }

    public String getChapterName()
    {
        return chapterName;
    }
    public void setChapterId(Long chapterId)
    {
        this.chapterId = chapterId;
    }

    public Long getChapterId()
    {
        return chapterId;
    }
    public void setPageOrder(Integer pageOrder)
    {
        this.pageOrder = pageOrder;
    }

    public Integer getPageOrder()
    {
        return pageOrder;
    }
    public void setPageId(Long pageId)
    {
        this.pageId = pageId;
    }

    public Long getPageId()
    {
        return pageId;
    }
    public void setWebType(String webType)
    {
        this.webType = webType;
    }

    public String getWebType()
    {
        return webType;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setNumberCi(Integer numberCi)
    {
        this.numberCi = numberCi;
    }

    public Integer getNumberCi()
    {
        return numberCi;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("climbId", getClimbId())
                .append("nameId", getNameId())
                .append("mistake", getMistake())
                .append("chapterName", getChapterName())
                .append("chapterId", getChapterId())
                .append("pageOrder", getPageOrder())
                .append("pageId", getPageId())
                .append("webType", getWebType())
                .append("status", getStatus())
                .append("numberCi", getNumberCi())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .toString();
    }
}